package com.lwl.entity;

import java.io.Serializable;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Table(name = "t_role")
@Data
//@ApiModel(value = "TRole)", description = "")
public class TRole implements Serializable {
 private static final long serialVersionUID = 314982655359931571L;
 /**
 * 角色的id
 */
 @Id
@Column(name = "id")
private Integer id;
@Column(name = "rname")
//@ApiModelProperty(value = "角色的名字")
private String rname;
@Column(name = "createtime")
//@ApiModelProperty(value = "${column.comment}")
private Date createtime;
@Column(name = "updatetime")
//@ApiModelProperty(value = "${column.comment}")
private Date updatetime;
@Column(name = "satatus")
//@ApiModelProperty(value = "${column.comment}")
private Integer satatus;
@Column(name = "version")
//@ApiModelProperty(value = "${column.comment}")
private Integer version;
@Column(name = "remark")
//@ApiModelProperty(value = "${column.comment}")
private String remark;

@Transient
private List<Tuser> tuser= new ArrayList<>();
}
